package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.mbc.rmt.data.SentCOADataList;
import com.mbc.rmt.entities.SentCOA;
import com.mbc.rmt.entities.SentCOARpt;

public interface SentCOADAO {
	
	public void create(SentCOA entity)throws SQLException;
	public void update(SentCOA entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public SentCOA findByCode(String code,long branchID) throws SQLException;
	public SentCOA findByID (long sentid)throws SQLException;
	public SentCOADataList findSentCOA(SentCOA cri)throws SQLException;
	public SentCOADataList getSentCOAList(SentCOARpt sentcoa) throws SQLException;
	ResultSet prepareSentCOAReport(SentCOARpt sentcoa)throws SQLException;
}
